<template>
  <div class="FillQues">
    填空数量：
    <div class="setFillCount">
      <span class="iconfont icon-zengjiashuzi" @click="fillCount++"></span>
      {{ fillCount }}
      <span class="iconfont icon-jianshaoshuzi" @click="fillCount > 1 && fillCount--"></span>
    </div>
  </div>
</template>

<script setup>
import { ref, defineExpose } from 'vue'

const fillCount = ref(1)

defineExpose({
  fillCount,
})
</script>

<style lang="less">
.FillQues {
  .setFillCount {
    font-size: 26px;
    font-weight: bold;
    .iconfont {
      font-size: 20px;
    }
  }
}
</style>